-- <movevent type="AddItem" tileitem="1" itemid="1492-1494" event="script" value="RPG/firefield.lua"/>

function onAddItem(moveitem, tileitem, position, cid)
	if moveitem.itemid == 11396 and moveitem.type == 0 then
		doTransformItem(moveitem.uid, 5468)
		doSendMagicEffect(position, CONST_ME_HITBYFIRE)
	end
	
	if moveitem.itemid == 9675 then
		doRemoveItem(moveitem.uid)
		doRemoveItem(tileitem.uid)
		doSendMagicEffect(position, CONST_ME_POFF)
	end
	return true
end
